<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Created by PhpStorm.
 * User: Khanh
 * Date: 11/16/14
 * Time: 7:11 PM
 */
class Account_Controller extends MY_Controller
{
    function Account_Controller() {
        parent::MY_Controller();
        if(!$this->session->userdata('username')) {
            redirect('accounts/login');
        }
    }
}